import request from '@/utils/request'


export function registeredUserList(params) {
  return request({
    url: `/registered/user/list`,
    method: 'get',
    params
  })
}

export function registeredUserDelete(configIds) {
  return request({
    url: `/registered/user/${configIds}`,
    method: 'delete',
  })
}

export function registeredUserDetails(configId) {
  return request({
    url: `/registered/user/${configId}`,
    method: 'get',
  })
}


export function registeredUserAdd(data) {
  return request({
    url: `/registered/user`,
    method: 'post',
    data
  })
}

export function registeredUserEdit(data) {
  return request({
    url: `/registered/user`,
    method: 'put',
    data
  })
}
